package com.hsource.doctorcenter.domain.doctor;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.hsource.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * @author yangYang
 * @version 1.0
 * @date 2020/9/23 15:17
 * @describe 医生信息对象 xy_doctor
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Doctor extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 医生姓名 */
    private String name;

    /** 医生id */
    private String doctor_id;

    /** 头像地址 */
    private String image;

    /** 职称 */
    private String title;

    /** 科室 */
    private String clinic_name;

    /** 科室编码 */
    private String clinic_no;

    /** 医院名称 */
    private String hospital;

    /** 医院级别 */
    private String hospital_grade;

    /** 擅长领域 */
    private String good_at;

    /** 推荐指数 */
    private String recommend_rate;

    /** 专家简介 */
    private String description;

    /** 图文咨询价格 */
    private Long price;

    /** 专业指数 */
    private Integer solution_score;

    /** 好评率 */
    private String good_rate;

    /** 医生标签 */
    private String tag;

    /** 医生标签集合 */
    private List<String> tags;

    /** 送心意数量 */
    private Integer reward_num;

    /** 咨询数 */
    private Integer reply_num;

    /** 粉丝数 */
    private Integer fans_num;

    /** 是否是名医咨询 */
    private Integer is_famous;

    /** 是否是名医咨询 boolean类型 */
    private boolean is_famous_doctor;

    /** 购买数量 */
    private Integer purchase_num;

    private String tel_price;

    public String getTel_price() {
        return tel_price;
    }

    public void setTel_price(String tel_price) {
        this.tel_price = tel_price;
    }

    public List<String> getTags() {
        return tags;
    }

    public void setTags(List<String> tags) {
        this.tags = tags;
    }

    public boolean isIs_famous_doctor() {
        return is_famous_doctor;
    }

    public void setIs_famous_doctor(boolean is_famous_doctor) {
        this.is_famous_doctor = is_famous_doctor;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDoctor_id(String doctor_id) 
    {
        this.doctor_id = doctor_id;
    }

    public String getDoctor_id() 
    {
        return doctor_id;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setClinic_name(String clinic_name) 
    {
        this.clinic_name = clinic_name;
    }

    public String getClinic_name() 
    {
        return clinic_name;
    }
    public void setClinic_no(String clinic_no) 
    {
        this.clinic_no = clinic_no;
    }

    public String getClinic_no() 
    {
        return clinic_no;
    }
    public void setHospital(String hospital) 
    {
        this.hospital = hospital;
    }

    public String getHospital() 
    {
        return hospital;
    }
    public void setHospital_grade(String hospital_grade) 
    {
        this.hospital_grade = hospital_grade;
    }

    public String getHospital_grade() 
    {
        return hospital_grade;
    }
    public void setGood_at(String good_at) 
    {
        this.good_at = good_at;
    }

    public String getGood_at() 
    {
        return good_at;
    }
    public void setRecommend_rate(String recommend_rate) 
    {
        this.recommend_rate = recommend_rate;
    }

    public String getRecommend_rate() 
    {
        return recommend_rate;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setSolution_score(Integer solution_score) 
    {
        this.solution_score = solution_score;
    }

    public Integer getSolution_score() 
    {
        return solution_score;
    }
    public void setGood_rate(String good_rate) 
    {
        this.good_rate = good_rate;
    }

    public String getGood_rate() 
    {
        return good_rate;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setReward_num(Integer reward_num) 
    {
        this.reward_num = reward_num;
    }

    public Integer getReward_num() 
    {
        return reward_num;
    }
    public void setReply_num(Integer reply_num) 
    {
        this.reply_num = reply_num;
    }

    public Integer getReply_num() 
    {
        return reply_num;
    }
    public void setFans_num(Integer fans_num) 
    {
        this.fans_num = fans_num;
    }

    public Integer getFans_num() 
    {
        return fans_num;
    }
    public void setIs_famous(Integer is_famous) 
    {
        this.is_famous = is_famous;
    }

    public Integer getIs_famous() 
    {
        return is_famous;
    }
    public void setPurchase_num(Integer purchase_num) 
    {
        this.purchase_num = purchase_num;
    }

    public Integer getPurchase_num() 
    {
        return purchase_num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("doctor_id", getDoctor_id())
            .append("image", getImage())
            .append("title", getTitle())
            .append("clinic_name", getClinic_name())
            .append("clinic_no", getClinic_no())
            .append("hospital", getHospital())
            .append("hospital_grade", getHospital_grade())
            .append("good_at", getGood_at())
            .append("recommend_rate", getRecommend_rate())
            .append("description", getDescription())
            .append("price", getPrice())
            .append("solution_score", getSolution_score())
            .append("good_rate", getGood_rate())
            .append("tag", getTag())
            .append("reward_num", getReward_num())
            .append("reply_num", getReply_num())
            .append("fans_num", getFans_num())
            .append("is_famous", getIs_famous())
            .append("purchase_num", getPurchase_num())
            .toString();
    }
}
